package cn.hom1.service;

import cn.hom1.model.entity.User;
import java.io.Serializable;
import java.util.List;

public interface UserService {

    /**
     * 根据用户名查询用户
     * @param username
     * @return user
     */
    User selectByUsername(String username);

    User selectByEmail(String email);

}
